/*
 * @Author: TC 
 * @Date: 2021-09-26 14:44:52 
 * @Last Modified by: TC
 * @Last Modified time: 2022-03-05 18:46:31
 */


//游戏状态
export enum GAME_STATE {
    FREE,//空虚
    GAME, //游戏
    CONCLUDE, //结算
}

//人物状态
export enum ROLE_STATE {
    NULL = -1,//
    IDLE,//待机
    RUN, //奔跑
    JUMP, //跳跃
    EAT, //吃
    ATTACK, //攻击
    HURT, //受伤
    DIE, //死亡
    SUCC, //胜利
}

//状态机状态
export enum FSM_STATE {
    NULL,//空
    SHOW,//出现
    IDLE,//待机
    RUN,//跑步
    JUMP,//跳跃
    ATTACK,//攻击
    SKILL1,//技能1
    SKILL2,//技能2
    SKILL3,//技能3
    HURT,//受伤
    DIE,//死亡
}

//人物类型
export enum CHAR_TYPE {
    ROLE,//主角
    ENEMY,//敌人
    BOSS,//boss
}

//人物属性
export enum ROLE_PRO {
    MONEY = "money",//金币
    EXP = "exp",//经验
    LEVEL = "level",//关卡
    PROP = "prop",
}

//状态
export class ACTION_TYPE {
    public static SHOW = "show";
    public static IDLE = "idle";
    public static RUN = "run";
    public static ATTACK = "attack";
    public static JUMP = "idle";
    public static HURT = "behit";
    public static DIE = "die";
    public static SKILL1 = "skill1";
    public static SKILL2 = "skill2";
    public static SKILL3 = "skill3";
}